package com.jfinal.aceadmin.util;

import com.jfinal.kit.Prop;
import com.jfinal.kit.PropKit;

public class PropertiesUtil {

	private static Prop prop = PropKit.use("server_config.properties");
	
	public static String getIconServer(){
		return prop.get("httpSchme") + "://" + prop.get("serverAddress") + "/icon/";
	}

	public static String getAttachmentServer() {
		return prop.get("httpSchme") + "://" + prop.get("serverAddress") + "/attachment/";
	}
}
